﻿using System.Activities;

namespace MvcWebRole1.Workflow
{

    public sealed class Block : NativeActivity
    {
        protected override bool CanInduceIdle
        {
            get { return true; }
        }

        protected override void Execute(NativeActivityContext context)
        {
            // Create a bookmark that will never be resumed to block this execution path.
            context.CreateBookmark();
        }
    }
}
